package com.tywj.buscustomerapp.utils;

import android.app.Activity;

public class MyActivityManager {
    private static MyActivityManager myActivityManager = new MyActivityManager();
    private Activity currentActivity;

    public static MyActivityManager getInstance(){
        return myActivityManager;
    }

    public void setCurrentActivity(Activity activity){
        currentActivity = activity;
    }

    public Activity getCurrentActivity(){
        return currentActivity;
    }

}
